package com.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.base.model.R;
import com.media.model.Favorite;
import io.swagger.models.auth.In;

import java.util.List;

public interface FavoriteService extends IService<Favorite> {

    R<List<Favorite>>listFavorite(Integer userId);

    R<String> cancelFavorite(String mediaId, Integer userId);

    R<Boolean> judgeFavorite(String mediaId, Integer userId);
}
